package cn.aib.eduservice.service;

import cn.aib.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-11-14
 */
public interface EduTeacherService extends IService<EduTeacher> {

    List<EduTeacher> selectTeacherlist(QueryWrapper<EduTeacher> teacherWrapper);

    boolean removeTeacherById(String id);

    boolean saveTeacher(EduTeacher teacher);

    boolean updateTeacherById(EduTeacher teacher);

    Map<String, Object> selectTeacherFrontList(long current, long limit);
}
